#ifndef _Switch_thread_H_
#define _Switch_thread_H_
#include "stdint.h"

typedef enum 
{
	SW_ON=0,
	SW_OFF=1
}Switch_Status_Type;

typedef enum
{
	Open=0,
	Close=1
}Door_Status_Type;

typedef enum
{
	Dog_IN,
	Dog_OUT,
}Dog_Status_Type;


typedef struct
{
	uint8_t  current_status;
	uint8_t  target_status;
	uint8_t  run;
	uint16_t time;
}Door_tcb_t;

typedef struct
{
 uint16_t time;
	uint8_t status;
}Dog_tcb_t;


void SW_thread_entry(void *paremeter);

void Dog_Recive(void);
#endif
